<!DOCTYPE html>












  


<html class="theme-next gemini use-motion" lang="zh-CN">
<head><meta name="generator" content="Hexo 3.9.0">
  <!-- hexo-inject:begin --><!-- hexo-inject:end --><meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
<meta name="theme-color" content="#222">












  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png?v=7.2.0">


  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png?v=7.2.0">


  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png?v=7.2.0">


  <link rel="mask-icon" href="/images/logo.svg?v=7.2.0" color="#222">






<link rel="stylesheet" href="/css/main.css?v=7.2.0">






<link rel="stylesheet" href="/lib/font-awesome/css/font-awesome.min.css?v=4.7.0">








<script id="hexo.configurations">
  var NexT = window.NexT || {};
  var CONFIG = {
    root: '/',
    scheme: 'Gemini',
    version: '7.2.0',
    sidebar: {"position":"left","display":"post","offset":12,"onmobile":false},
    back2top: {"enable":true,"sidebar":false,"scrollpercent":false},
    copycode: {"enable":false,"show_result":false,"style":null},
    fancybox: false,
    mediumzoom: false,
    lazyload: false,
    pangu: false,
    algolia: {
      applicationID: '',
      apiKey: '',
      indexName: '',
      hits: {"per_page":10},
      labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
    },
    localsearch: {"enable":false,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},
    search: {
      root: '/',
      path: ''
    },
    tabs: true,
    motion: {"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},
    translation: {
      copy_button: '复制',
      copy_success: '复制成功',
      copy_failure: '复制失败'
    }
  };
</script>

  <meta name="description" content="I&apos;m a bluetooth Host and Controller developer">
<meta name="keywords" content="bluetooth, reading, thinking">
<meta property="og:type" content="website">
<meta property="og:title" content="Wen Wu&#39;s notes">
<meta property="og:url" content="http://yoursite.com/index.html">
<meta property="og:site_name" content="Wen Wu&#39;s notes">
<meta property="og:description" content="I&apos;m a bluetooth Host and Controller developer">
<meta property="og:locale" content="zh-CN">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Wen Wu&#39;s notes">
<meta name="twitter:description" content="I&apos;m a bluetooth Host and Controller developer">





  
  
  <link rel="canonical" href="http://yoursite.com/">



<script id="page.configurations">
  CONFIG.page = {
    sidebar: "",
  };
</script>

  
  <title>Wen Wu's notes</title>
  












  <noscript>
  <style>
  .use-motion .motion-element,
  .use-motion .brand,
  .use-motion .menu-item,
  .sidebar-inner,
  .use-motion .post-block,
  .use-motion .pagination,
  .use-motion .comments,
  .use-motion .post-header,
  .use-motion .post-body,
  .use-motion .collection-title { opacity: initial; }

  .use-motion .logo,
  .use-motion .site-title,
  .use-motion .site-subtitle {
    opacity: initial;
    top: initial;
  }

  .use-motion .logo-line-before i { left: initial; }
  .use-motion .logo-line-after i { right: initial; }
  </style>
</noscript><!-- hexo-inject:begin --><!-- hexo-inject:end -->

</head>

<body itemscope itemtype="http://schema.org/WebPage" lang="zh-CN">

  
  
    
  

  <!-- hexo-inject:begin --><!-- hexo-inject:end --><div class="container sidebar-position-left 
  page-home">
    <div class="headband"></div>

    <header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-wrapper">
  <div class="site-meta">
    

    <div class="custom-logo-site-title">
      <a href="/" class="brand" rel="start">
        <span class="logo-line-before"><i></i></span>
        <span class="site-title">Wen Wu's notes</span>
        <span class="logo-line-after"><i></i></span>
      </a>
    </div>
    
      
        <p class="site-subtitle">technical record</p>
      
    
    
  </div>

  <div class="site-nav-toggle">
    <button aria-label="切换导航栏">
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
    </button>
  </div>
</div>



<nav class="site-nav">
  
    <ul id="menu" class="menu">
      
        
        
        
          
          <li class="menu-item menu-item-home menu-item-active">

    
    
      
    

    

    <a href="/" rel="section"><i class="menu-item-icon fa fa-fw fa-home"></i> <br>首页</a>

  </li>
        
        
        
          
          <li class="menu-item menu-item-about">

    
    
      
    

    

    <a href="/about/" rel="section"><i class="menu-item-icon fa fa-fw fa-user"></i> <br>关于</a>

  </li>
        
        
        
          
          <li class="menu-item menu-item-tags">

    
    
      
    

    

    <a href="/tags/" rel="section"><i class="menu-item-icon fa fa-fw fa-tags"></i> <br>标签</a>

  </li>
        
        
        
          
          <li class="menu-item menu-item-categories">

    
    
      
    

    

    <a href="/categories/" rel="section"><i class="menu-item-icon fa fa-fw fa-th"></i> <br>分类</a>

  </li>
        
        
        
          
          <li class="menu-item menu-item-archives">

    
    
      
    

    

    <a href="/archives/" rel="section"><i class="menu-item-icon fa fa-fw fa-archive"></i> <br>归档</a>

  </li>
        
        
        
          
          <li class="menu-item menu-item-schedule">

    
    
      
    

    

    <a href="/schedule/" rel="section"><i class="menu-item-icon fa fa-fw fa-calendar"></i> <br>日程表</a>

  </li>
        
        
        
          
          <li class="menu-item menu-item-sitemap">

    
    
      
    

    

    <a href="/sitemap.xml" rel="section"><i class="menu-item-icon fa fa-fw fa-sitemap"></i> <br>站点地图</a>

  </li>

      
      
    </ul>
  

  

  
</nav>



</div>
    </header>

    


    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
          
            

          
          <div id="content" class="content">
            
  <section id="posts" class="posts-expand">
    
        

  
  
  

  

  <article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="http://yoursite.com/2022/02/05/jiasuo/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="name" content="Wen Wu">
      <meta itemprop="description" content="I'm a bluetooth Host and Controller developer">
      <meta itemprop="image" content="/images/avatar.gif">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="Wen Wu's notes">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
                
                
                <a href="/2022/02/05/jiasuo/" class="post-title-link" itemprop="url">人性的枷锁</a>
              
            
          </h1>
        

        <div class="post-meta">

          
          
          

          
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              

              
                
              

              <time title="创建时间：2022-02-05 17:31:56" itemprop="dateCreated datePublished" datetime="2022-02-05T17:31:56+08:00">2022-02-05</time>
            </span>
          

          

          
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="fa fa-folder-o"></i>
              </span>
              
                <span class="post-meta-item-text">分类于</span>
              
              
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing"><a href="/categories/阅读/" itemprop="url" rel="index"><span itemprop="name">阅读</span></a></span>

                
                
              
            </span>
          

          
          
            <span id="/2022/02/05/jiasuo/" class="post-meta-item leancloud_visitors" data-flag-title="人性的枷锁">
              <span class="post-meta-item-icon">
                <i class="fa fa-eye"></i>
              </span>
              
                <span class="post-meta-item-text">阅读次数：</span>
              
                <span class="leancloud-visitors-count"></span>
            </span>
          

          

          
            
  
  <span class="post-meta-item">
    
    <span class="post-meta-item-icon">
      <i class="fa fa-comment-o"></i>
    </span>
    
      <span class="post-meta-item-text">评论数：</span>
    
  
    <a href="/2022/02/05/jiasuo/#comments" itemprop="discussionUrl">
      <span class="post-comments-count valine-comment-count" data-xid="/2022/02/05/jiasuo/" itemprop="commentCount"></span>
    </a>
  </span>
  
  
          

          <br>
          

          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        
          
            <p>读完毛姆的《人性的枷锁》，也跟着过完了菲利普的跌宕起伏的前30年。他天生是个瘸子，自小敏感内向，父母双亡，寄养在伯父家。打小的时候天天睡前祈祷希望自己的跛脚可以第二天被上帝修好，但奇迹一直没有出现，慢慢的他不信上帝了，他认为自己丢掉了信仰这个枷锁。之后他放开了自己，他到德国学文学，到伦敦学会计，到巴黎学画画，最为精彩的就是他遇到那些个才华横溢，活色生香的人儿，他自己的个性和世界观也慢慢的成熟，由简单的崇拜别人变得能客观的评价别人及自己，最后他发现自己在画画方面没有天赋时，就果断转去学医，并最终学有所成。其中最为揪心的就是他跟米尔德里德的感情，这个蛇蝎心肠的女人害他一次次几乎破产，掉入人生的低谷，差点还因为没钱活下去而自杀，还好他没有跟这个糟心女人走在一起。最后结局也算圆满，他读完了医学，选择了好友阿西尔内的大女儿萨利，平平凡凡的过日子，只要待在萨莉旁边，他就能安静祥和下来。</p>
<blockquote>
<p>如果你对自己的处境总是心存不满，企图反抗，那只会给你带来更深的羞耻。你的悲惨遭遇只是上帝让你背上的十字架，而之所以选择你来负担，是因为你的肩膀比其他人更强壮。这是上帝的好意，你应该了在其中，不能把它视作悲伤的源头。</p>
<p>每个昨日都在为明日做打算，而近日就这样白白付诸东流。</p>
<p>眼前的未来空空旷旷，冷冷凄凄。他像一个绝望的水手，在浩瀚无边的大洋上漂泊多年，经历了风雨险难，忍受了饥寒交迫，终于觅得一片平静的港口但他正要驶入时，却刮来一阵疾风把他再一次吹进浩淼的大海，他一门心思地惦记着陆地上草坪柔软，树丛茂密，而那动荡苍茫的大海却只让他苦不堪言。他不能再做一个孤零零的漂泊者了。</p>
</blockquote>

          
        
      
    </div>

    

    

    
    
    

    

    
      
    
    

    

    <footer class="post-footer">
      

      

      

      
      
        <div class="post-eof"></div>
      
    </footer>
  </div>
  
  
  
  </article>

    
        

  
  
  

  

  <article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="http://yoursite.com/2021/10/24/maque/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="name" content="Wen Wu">
      <meta itemprop="description" content="I'm a bluetooth Host and Controller developer">
      <meta itemprop="image" content="/images/avatar.gif">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="Wen Wu's notes">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
                
                
                <a href="/2021/10/24/maque/" class="post-title-link" itemprop="url">麻雀</a>
              
            
          </h1>
        

        <div class="post-meta">

          
          
          

          
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              

              
                
              

              <time title="创建时间：2021-10-24 12:29:57" itemprop="dateCreated datePublished" datetime="2021-10-24T12:29:57+08:00">2021-10-24</time>
            </span>
          

          
            

            
              <span class="post-meta-item">
                <span class="post-meta-item-icon">
                  <i class="fa fa-calendar-check-o"></i>
                </span>
                
                  <span class="post-meta-item-text">更新于</span>
                
                <time title="修改时间：2021-10-30 20:32:57" itemprop="dateModified" datetime="2021-10-30T20:32:57+08:00">2021-10-30</time>
              </span>
            
          

          
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="fa fa-folder-o"></i>
              </span>
              
                <span class="post-meta-item-text">分类于</span>
              
              
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing"><a href="/categories/随笔/" itemprop="url" rel="index"><span itemprop="name">随笔</span></a></span>

                
                
              
            </span>
          

          
          
            <span id="/2021/10/24/maque/" class="post-meta-item leancloud_visitors" data-flag-title="麻雀">
              <span class="post-meta-item-icon">
                <i class="fa fa-eye"></i>
              </span>
              
                <span class="post-meta-item-text">阅读次数：</span>
              
                <span class="leancloud-visitors-count"></span>
            </span>
          

          

          
            
  
  <span class="post-meta-item">
    
    <span class="post-meta-item-icon">
      <i class="fa fa-comment-o"></i>
    </span>
    
      <span class="post-meta-item-text">评论数：</span>
    
  
    <a href="/2021/10/24/maque/#comments" itemprop="discussionUrl">
      <span class="post-comments-count valine-comment-count" data-xid="/2021/10/24/maque/" itemprop="commentCount"></span>
    </a>
  </span>
  
  
          

          <br>
          

          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        
          
            <blockquote>
<p>我飞翔在乌云之中，你看着我无动于衷，有多少次波涛汹涌，在我，胸中…</p>
</blockquote>
<p>在《麻雀》中李荣浩是这么为一只“有明天”的麻雀呐喊的。<br><img src="https://wnnwoo.oss-cn-chengdu.aliyuncs.com/Maque/maque.png" alt><br> &emsp;&emsp;&emsp;&emsp;&emsp;&emsp;关于麻雀，我感受最深了。在老家的窑洞斜上方有一颗巨大无比枝桠张扬的榆树，年龄不详，树冠直径估计有十几米，据说这棵非比寻常的老榆树上住着一位神仙，从对面山坡看它，是亮着灯的，就像一户人家。树的前方地面有四棵长的高高直直的榆树算是它配角，说是神仙回家的天梯。树根正下方的土坡上有很多的小洞，里面住了非常多瘦瘦的灰溜溜的麻雀，他们是我打小的玩伴。我最喜在吃完饭后到院子里用我心爱的弹弓吓唬他们，尤其在在他们吵的很厉害的时候，我弹一下，马上就会安静那么几十秒，像是时间停止一样，彷佛他们受我的掌控，很有成就感。每年我都会抓几只小麻雀来养着。其中有一只麻雀印象特别深，是我在舅舅家走亲戚的时候，大表姐在院子里捡到的，她看我非常喜欢就送我了。这只麻雀跟我的关系非常好，长大后他会自己飞出去找吃的，吃饱了再飞回来，落在我的肩膀或手指上扭来扭去，叽叽咋咋的叫 ，好像在跟我聊天，但是很无奈我不通麻雀语，无法感知到他在说什么，是不是它以为我是一只大点的麻雀，而且脑袋蠢蠢、无动于衷地不知道它讲什么。不过不知从哪天开始它再没有回来过，也许是遭遇了什么不测，或是他找到了自己的天地忘记了我。没等到他回来我伤心了好久。<br>&ensp;&ensp;&ensp;&ensp;&ensp;&ensp;后来，我在网上看到一篇林锐博士的《大学十年》，看了后非常热血。不过文中我印象最深的不是作者的传奇，而是他在文中提到的西安的麻雀，哈哈，我很想去看看。</p>
<blockquote>
<p>那麻雀滚圆滚圆的，简直是会飞的肉弹。它们不怕人，成堆聚集吵闹，常让我误以为是没有教养的一群鸡。</p>
</blockquote>
<p>&ensp;&ensp;&ensp;&ensp;&ensp;&ensp;最近无意中发现作者现在开了一个公司叫<a href="http://www.mansuo.com">漫索</a>，产品是IT企业的信息管理系统，他还是挺喜欢写东西分享的，也出了不少书，于是翻到一本《研发企业管理》，书中他引用的孔子对人的学习境界的总结，读来非常有感触。</p>
<ul>
<li>不学而知：不用学习也能会，这些人不是不学习，而是他们的传感器非常的敏锐，领悟力强，触类旁通的能力非常厉害。</li>
<li>学而知：通过学习然后会了，这个是我们大部分人的学习方法，通过花费一定的时间掌握了知识然后会了。</li>
<li>困而知：学习完了还不会，等犯错误之后才能理解深刻，才能会。</li>
<li>困而不知：学习完了，犯了错误了还是不会，这种就有点不可救药了。</li>
</ul>
<p>&ensp;&ensp;&ensp;&ensp;&ensp;&ensp;对于企业来说主要是找学而知和困而知的人，学一学，犯犯错误理解深刻了，就可以开始干活儿，慢慢积累个几年。公司找来的每个同仁，能独立生存，他们都是有比较优势的，我们只要用好他们，就一定能场照不菲的价值。</p>

          
        
      
    </div>

    

    

    
    
    

    

    
      
    
    

    

    <footer class="post-footer">
      

      

      

      
      
        <div class="post-eof"></div>
      
    </footer>
  </div>
  
  
  
  </article>

    
        

  
  
  

  

  <article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="http://yoursite.com/2021/06/09/EatList/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="name" content="Wen Wu">
      <meta itemprop="description" content="I'm a bluetooth Host and Controller developer">
      <meta itemprop="image" content="/images/avatar.gif">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="Wen Wu's notes">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
                
                
                <a href="/2021/06/09/EatList/" class="post-title-link" itemprop="url">吃货的鄙视链</a>
              
            
          </h1>
        

        <div class="post-meta">

          
          
          

          
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              

              
                
              

              <time title="创建时间：2021-06-09 22:48:37" itemprop="dateCreated datePublished" datetime="2021-06-09T22:48:37+08:00">2021-06-09</time>
            </span>
          

          

          
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="fa fa-folder-o"></i>
              </span>
              
                <span class="post-meta-item-text">分类于</span>
              
              
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing"><a href="/categories/随笔/" itemprop="url" rel="index"><span itemprop="name">随笔</span></a></span>

                
                
              
            </span>
          

          
          
            <span id="/2021/06/09/EatList/" class="post-meta-item leancloud_visitors" data-flag-title="吃货的鄙视链">
              <span class="post-meta-item-icon">
                <i class="fa fa-eye"></i>
              </span>
              
                <span class="post-meta-item-text">阅读次数：</span>
              
                <span class="leancloud-visitors-count"></span>
            </span>
          

          

          
            
  
  <span class="post-meta-item">
    
    <span class="post-meta-item-icon">
      <i class="fa fa-comment-o"></i>
    </span>
    
      <span class="post-meta-item-text">评论数：</span>
    
  
    <a href="/2021/06/09/EatList/#comments" itemprop="discussionUrl">
      <span class="post-comments-count valine-comment-count" data-xid="/2021/06/09/EatList/" itemprop="commentCount"></span>
    </a>
  </span>
  
  
          

          <br>
          

          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        
          
            <p>《Beyond Feelings》中介绍不同的环境下人的想法不同时，引入了社会学家Ian Robertson总结的全球饮食差异，写的很有意思，居然写出了单向链表的感觉。</p>
<blockquote>
<p>Americans eat oysters but not snails. 美国人吃牡蛎，不是蜗牛。<br>The French eat snails but not locusts. 法国人吃蜗牛，不吃蝗虫。<br>The Zulus eat locusts but not fish. 祖鲁人吃蝗虫，不吃鱼肉。<br>The Jews eat fish but not pork. 犹太人吃鱼肉，不吃猪肉。<br>The Hindus eat pork but not beef. 印度人吃猪肉，不吃牛肉。<br>The Russians eat beef but not snakes. 俄国人吃牛肉，不吃蛇肉。<br>The Chinese eat snakes but not people. 中国人吃蛇肉，不吃人肉。<br>The Jale of New Guinea find people delicious. 新几内亚人认为人肉鲜美。（这个狠）</p>
</blockquote>

          
        
      
    </div>

    

    

    
    
    

    

    
      
    
    

    

    <footer class="post-footer">
      

      

      

      
      
        <div class="post-eof"></div>
      
    </footer>
  </div>
  
  
  
  </article>

    
        

  
  
  

  

  <article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="http://yoursite.com/2021/05/09/AliceBobCouple/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="name" content="Wen Wu">
      <meta itemprop="description" content="I'm a bluetooth Host and Controller developer">
      <meta itemprop="image" content="/images/avatar.gif">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="Wen Wu's notes">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
                
                
                <a href="/2021/05/09/AliceBobCouple/" class="post-title-link" itemprop="url">Alice和Bob</a>
              
            
          </h1>
        

        <div class="post-meta">

          
          
          

          
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              

              
                
              

              <time title="创建时间：2021-05-09 07:56:08" itemprop="dateCreated datePublished" datetime="2021-05-09T07:56:08+08:00">2021-05-09</time>
            </span>
          

          
            

            
              <span class="post-meta-item">
                <span class="post-meta-item-icon">
                  <i class="fa fa-calendar-check-o"></i>
                </span>
                
                  <span class="post-meta-item-text">更新于</span>
                
                <time title="修改时间：2021-07-31 07:56:08" itemprop="dateModified" datetime="2021-07-31T07:56:08+08:00">2021-07-31</time>
              </span>
            
          

          
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="fa fa-folder-o"></i>
              </span>
              
                <span class="post-meta-item-text">分类于</span>
              
              
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing"><a href="/categories/Bluetooth/" itemprop="url" rel="index"><span itemprop="name">Bluetooth</span></a></span>

                
                
              
            </span>
          

          
          
            <span id="/2021/05/09/AliceBobCouple/" class="post-meta-item leancloud_visitors" data-flag-title="Alice和Bob">
              <span class="post-meta-item-icon">
                <i class="fa fa-eye"></i>
              </span>
              
                <span class="post-meta-item-text">阅读次数：</span>
              
                <span class="leancloud-visitors-count"></span>
            </span>
          

          

          
            
  
  <span class="post-meta-item">
    
    <span class="post-meta-item-icon">
      <i class="fa fa-comment-o"></i>
    </span>
    
      <span class="post-meta-item-text">评论数：</span>
    
  
    <a href="/2021/05/09/AliceBobCouple/#comments" itemprop="discussionUrl">
      <span class="post-comments-count valine-comment-count" data-xid="/2021/05/09/AliceBobCouple/" itemprop="commentCount"></span>
    </a>
  </span>
  
  
          

          <br>
          

          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        
          
            <p>&emsp;&emsp;&emsp;&emsp;读初中时，英语课本里有一对儿明星CP<a href="https://baike.baidu.com/item/李雷和韩梅梅/19455400?fr=aladdin">李雷和韩梅梅</a>经常跳出来考我们的听力水平，对他们是既爱又恨。在暗号界也有一对儿明星：Alice和Bob，不过他俩可没空跳出来难为学生娃们，他俩有更重要的事情，总是忙着应用各种办法提防第三者Eve、Mallory等破坏他们的联系。关于他俩的传说有很多很多。<br><img src="https://wnnwoo.oss-cn-chengdu.aliyuncs.com/BLE/AliceAndBob_0.png" alt><br>&emsp;&emsp;&emsp;&emsp;他俩都是70后，都生于<a href="http://cryptocouple.com/#nonsecret">1978</a>年。<br>&emsp;&emsp;&emsp;&emsp;两人早早结婚，<a href="https://en.wikipedia.org/wiki/Alice_and_Bob">1983年离婚</a>（时间线有点离谱），他俩不待见对方不见面，但还在一起做生意，不得不经常打打电话发发信息，还有些资金上的往来。有另外两个恨角儿Eve和Mollary多年来一直盯着他俩。Eve生于1988年，喜好偷听（eavesdropper），Mallory出生年月不详，专搞损人又利己的事儿：破坏、篡改Alice和Bob的通信信息或偷梁换柱骗取Alice和Bob的钱财（the man-in-the-middle attacker with malicious intent）。</p>
<blockquote>
<p> Although Alice and Bob were invented with no reference to their personality, authors soon began adding colorful descriptions. In 1983, Blum invented a backstory about a troubled relationship between Alice and Bob, writing, “Alice and Bob, recently divorced, mutually distrustful, still do business together. They live on opposite coasts, communicate mainly by telephone, and use their computers to transact business over the telephone.”[8] In 1984, John Gordon delivered his famous[9] “After Dinner Speech” about Alice and Bob, which he imagines to be the first “definitive biography of Alice and Bob.”</p>
</blockquote>
<p>&emsp;  也有<a href="https://urbigenous.net/library/alicebob.html">传说</a>Bob是股票经纪人（stockholder），Alice经常跟Bob买股票，是投机者（speculator），她自己的财务状况不想被她husband知道。而且Alice和Bob经常讨论的话题是如何逃税（Tax Fraud）等不法行为，所以他俩的讨论也不想让其他人知道，比如Tax Authority，Secret Police等等，有这么厉害的对手，是难上加难，但是Alice不这么认为，她的粉丝们也不不这么认为。<br>&emsp;  暗号界的粉丝及英雄们为了保证这对明星的联络正常，可谓绞尽脑汁、前赴后继。这些英雄中最为耀眼的当属 Whitfield Diffie和 Martin Hellman两位大师，他俩在1976年联合发明了不用交换加密的密钥也能正常加密解密的数学方法(Diffie–Hellman key exchange)，在将近30年后，他俩获得了2015年度的“图灵奖”—计算机科学界的最高荣耀。<br>  <img src="https://wnnwoo.oss-cn-chengdu.aliyuncs.com/BLE/Diffie-Hellman.png" alt><br>&emsp;  为了获得被Alice和Bob翻牌Bluetooth的机会，Blueooth SIG也忙前忙后的为他们定义了蓝牙数据的加密规范<a href="https://www.bluetooth.com/specifications/specs/core-specification/">Security Manager Specification</a>。<br>&emsp; </p>
<p>关于BLE 配对及机密机制，下面一篇大牛JDH的文章写的非常详尽。<br><a href="http://jdhblog.com/2019/05/14/BLE安全机制从入门到放弃">BLE安全机制从入门到放弃</a>  </p>
<p><strong>参考文献</strong><br>[1] <a href="http://cryptocouple.com/#nonsecret">A History of The World’s Most Famous Cryptographic Couple</a><br>[2] <a href="https://en.wikipedia.org/wiki/Alice_and_Bob">Alice_and_Bob</a><br>[3] <a href="https://www.americanscientist.org/article/alice-and-bob-in-cipherspace">Alice and Bob in Cipherspace</a><br>[5] <a href="https://link.springer.com/chapter/10.1007/978-3-642-36213-2_23">Alice and Bob in Love</a><br>[6] <a href="https://urbigenous.net/library/alicebob.html">The Alice and Bob After Dinner Speech</a><br>[7] <a href="https://www.bluetooth.com/specifications/specs/core-specification/">Bluetooth Core Spec 5.2</a><br>[8] <a href="https://www.ietf.org/rfc/rfc4493.txt">The AES-CMAC Algorithm</a></p>

          
        
      
    </div>

    

    

    
    
    

    

    
      
    
    

    

    <footer class="post-footer">
      

      

      

      
      
        <div class="post-eof"></div>
      
    </footer>
  </div>
  
  
  
  </article>

    
        

  
  
  

  

  <article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="http://yoursite.com/2021/05/03/mynewt-install/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="name" content="Wen Wu">
      <meta itemprop="description" content="I'm a bluetooth Host and Controller developer">
      <meta itemprop="image" content="/images/avatar.gif">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="Wen Wu's notes">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
                
                
                <a href="/2021/05/03/mynewt-install/" class="post-title-link" itemprop="url">mynewt（一） 环境配置</a>
              
            
          </h1>
        

        <div class="post-meta">

          
          
          

          
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              

              
                
              

              <time title="创建时间：2021-05-03 07:45:05" itemprop="dateCreated datePublished" datetime="2021-05-03T07:45:05+08:00">2021-05-03</time>
            </span>
          

          
            

            
              <span class="post-meta-item">
                <span class="post-meta-item-icon">
                  <i class="fa fa-calendar-check-o"></i>
                </span>
                
                  <span class="post-meta-item-text">更新于</span>
                
                <time title="修改时间：2021-05-04 17:20:05" itemprop="dateModified" datetime="2021-05-04T17:20:05+08:00">2021-05-04</time>
              </span>
            
          

          
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="fa fa-folder-o"></i>
              </span>
              
                <span class="post-meta-item-text">分类于</span>
              
              
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing"><a href="/categories/操作系统/" itemprop="url" rel="index"><span itemprop="name">操作系统</span></a></span>

                
                
              
            </span>
          

          
          
            <span id="/2021/05/03/mynewt-install/" class="post-meta-item leancloud_visitors" data-flag-title="mynewt（一） 环境配置">
              <span class="post-meta-item-icon">
                <i class="fa fa-eye"></i>
              </span>
              
                <span class="post-meta-item-text">阅读次数：</span>
              
                <span class="leancloud-visitors-count"></span>
            </span>
          

          

          
            
  
  <span class="post-meta-item">
    
    <span class="post-meta-item-icon">
      <i class="fa fa-comment-o"></i>
    </span>
    
      <span class="post-meta-item-text">评论数：</span>
    
  
    <a href="/2021/05/03/mynewt-install/#comments" itemprop="discussionUrl">
      <span class="post-comments-count valine-comment-count" data-xid="/2021/05/03/mynewt-install/" itemprop="commentCount"></span>
    </a>
  </span>
  
  
          

          <br>
          

          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        
          
            <p>从Nimble了解到Apache的物联网操作系统mynewt，就想把玩一下，不过光是设置一个环境就非常的不容易，到处是坑儿，又找不到地方发问，感觉mynewt在国内根本没有机会。不像rt-thread，既有社区bbs，又有QQ群、微信群，问问题方便的很。</p>
<p>按照<a href="https://mynewt.apache.org/latest/newt/install/newt_mac.html">安装步骤</a>一步一步操作，到目前还没build pass，先把遇到的问题整理下。</p>
<p><strong>1.提示xcode太旧了，装不了。</strong>那我就update下呗，结果在AppStore下载不了，提示说空间不够，但我有40个G的可用空间呀，我就干脆直接删掉xcode，只装个命令行。</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">sudo rm -rf /Library/Developer/CommandLineTools</span><br><span class="line">sudo xcode-select —install</span><br></pre></td></tr></table></figure>
<p><strong>2.接着装mynewt。</strong></p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">$ brew tap JuulLabs-OSS/mynewt</span><br><span class="line">Error: Refusing to untap runtimeco/mynewt because it contains the following installed formulae or casks:mynewt-newt</span><br></pre></td></tr></table></figure>
<blockquote>
<p>解决方法：brew untap —force runtimeco/mynewt就可以了</p>
</blockquote>
<p><strong>3.update下brew </strong></p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line">Mac01:~ wnnwoo$ brew update</span><br><span class="line">Error: Fetching /usr/local/Homebrew failed!</span><br><span class="line">Fetching /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core failed!</span><br><span class="line">Fetching /usr/local/Homebrew/Library/Taps/juullabs-oss/homebrew-mynewt failed!</span><br><span class="line">Fetching /usr/local/Homebrew/Library/Taps/px4/homebrew-px4 failed!</span><br></pre></td></tr></table></figure>
<blockquote>
<p>试验了半天，才搞明白因为开启了VPN，不知道跟brew哪根筋冲突了，关掉VPN就OK</p>
</blockquote>
<p><strong>4.升级下mynewt的newt</strong><br><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line">$ brew upgrade mynewt-newt</span><br><span class="line">.....</span><br><span class="line">fatal: not a git repository (or any of the parent directories): .git</span><br><span class="line">Building newt.  This may take a minute...</span><br><span class="line">go: github.com/NickBall/go-aes-key-wrap@v0.0.0-20170929221519-1c3aa3e4dfc5: Get &quot;https://proxy.golang.org/github.com/%21nick%21ball/go-aes-key-wrap/@v/v0.0.0-20170929221519-1c3aa3e4dfc5.mod&quot;: dial tcp 172.217.160.113:443: i/o timeout</span><br></pre></td></tr></table></figure></p>
<blockquote>
<p>百度下有网友说是GO被长城给block了，要把GO的代理设置到国内.</p>
<blockquote>
<p>go env -w GOPROXY=<a href="https://goproxy.cn">https://goproxy.cn</a></p>
</blockquote>
<p>但我这里还是不行，看来不是这个问题，来来回回折腾来很久<br>最后找到个合适的，比较快的VPN，算是解决了这个问题。<br><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line">$ which newt</span><br><span class="line">/usr/local/bin/newt</span><br><span class="line">$ newt version</span><br><span class="line">Apache Newt version: 1.5.0</span><br></pre></td></tr></table></figure></p>
</blockquote>
<p><strong>5.接着装newtmgr。</strong><br><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line">Mac01:~ wnnwoo$ brew install mynewt-newtmgr</span><br><span class="line">Updating Homebrew...</span><br><span class="line">Error: Formulae found in multiple taps: </span><br><span class="line">       * juullabs-oss/mynewt/mynewt-newtmgr</span><br><span class="line">       * runtimeco/mynewt/mynewt-newtmgr</span><br></pre></td></tr></table></figure></p>
<blockquote>
<p>那就去掉一个，用 <code>Mac01:~ wnnwoo$ brew untap runtimeco/mynewt</code><br>然后再来一次<br><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line">Mac01:~ wnnwoo$ brew install mynewt-newtmgr</span><br><span class="line">Warning: juullabs-oss/mynewt/mynewt-newtmgr 1.7.0 is already installed, it&apos;s just not linked.</span><br><span class="line">To link this version, run:</span><br><span class="line">  brew link mynewt-newtmgr</span><br></pre></td></tr></table></figure></p>
<p>看来已经装上了，只欠link，那就按照提示继续。<br><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br></pre></td><td class="code"><pre><span class="line">Mac01:~ wnnwoo$ brew link mynewt-newtmgr</span><br><span class="line"></span><br><span class="line">Linking /usr/local/Cellar/mynewt-newtmgr/1.7.0... 1 symlinks created.</span><br><span class="line">Mac01:~ wnnwoo$ newtmgr</span><br><span class="line"></span><br><span class="line">Mac01:~ wnnwoo$ which newtmgr</span><br><span class="line">/usr/local/bin/newtmgr</span><br><span class="line">Mac01:~ wnnwoo$ newtmgr version</span><br><span class="line">Apache Newtmgr 1.7.0</span><br></pre></td></tr></table></figure></p>
<p>终于搞定了。</p>
</blockquote>
<p><strong>6.接着创建project，</strong>在当前目录下command <code>newt upgrade</code>，这个project相关的最基础所有软件包都会被拉下来，然后按照文档指示跑下测项。<br><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br><span class="line">41</span><br><span class="line">42</span><br><span class="line">43</span><br></pre></td><td class="code"><pre><span class="line"> Mac01:~ wnnwoo$ newt test @apache-mynewt-core/sys/config</span><br><span class="line"> </span><br><span class="line">       ...</span><br><span class="line">  &quot;_close$UNIX2003&quot;, referenced from:</span><br><span class="line">      _flash_native_file_open in @apache-mynewt-core_hw_mcu_native.a(hal_flash.o)</span><br><span class="line">      _native_sock_close in @apache-mynewt-core_net_ip_native_sockets.a(native_sock.o)</span><br><span class="line">      _uart_pty in @apache-mynewt-core_hw_mcu_native.a(hal_uart.o)</span><br><span class="line">      _uart_open_dev in @apache-mynewt-core_hw_mcu_native.a(hal_uart.o)</span><br><span class="line">      _hal_uart_close in @apache-mynewt-core_hw_mcu_native.a(hal_uart.o)</span><br><span class="line">  &quot;_getifaddrs&quot;, referenced from:</span><br><span class="line">      _native_sock_itf_getnext in @apache-mynewt-core_net_ip_native_sockets.a(native_itf.o)</span><br><span class="line">      _native_sock_itf_addr in @apache-mynewt-core_net_ip_native_sockets.a(native_itf.o)</span><br><span class="line">      _native_sock_itf_addr_getnext in @apache-mynewt-core_net_ip_native_sockets.a(native_itf.o)</span><br><span class="line">  &quot;_poll$UNIX2003&quot;, referenced from:</span><br><span class="line">      _socket_task in @apache-mynewt-core_net_ip_native_sockets.a(native_sock.o)</span><br><span class="line">  &quot;___bzero&quot;, referenced from:</span><br><span class="line">      _TEST_CASE_config_test_custom_compress in @apache-mynewt-core_sys_config_selftest-fcb2.a(config_test_custom_compress.o)</span><br><span class="line">  &quot;___stack_chk_fail&quot;, referenced from:</span><br><span class="line">      _ctest_handle_export in @apache-mynewt-core_sys_config_selftest-fcb2.a(conf_test_fcb2.o)</span><br><span class="line">      _c2_handle_export in @apache-mynewt-core_sys_config_selftest-fcb2.a(conf_test_fcb2.o)</span><br><span class="line">      _c3_handle_export in @apache-mynewt-core_sys_config_selftest-fcb2.a(conf_test_fcb2.o)</span><br><span class="line">      _conf_get_stored_value in @apache-mynewt-core_sys_config.a(config_store.o)</span><br><span class="line">      _conf_set_value in @apache-mynewt-core_sys_config.a(config.o)</span><br><span class="line">      _conf_get_value in @apache-mynewt-core_sys_config.a(config.o)</span><br><span class="line">      _conf_commit in @apache-mynewt-core_sys_config.a(config.o)</span><br><span class="line">      ...</span><br><span class="line">  &quot;___stdoutp&quot;, referenced from:</span><br><span class="line">      _tu_pass_cb_self in @apache-mynewt-core_test_testutil.a(testutil.o)</span><br><span class="line">      _tu_fail_cb_self in @apache-mynewt-core_test_testutil.a(testutil.o)</span><br><span class="line">  &quot;_openpty&quot;, referenced from:</span><br><span class="line">      _uart_pty in @apache-mynewt-core_hw_mcu_native.a(hal_uart.o)</span><br><span class="line">  &quot;_recvfrom$UNIX2003&quot;, referenced from:</span><br><span class="line">      _native_sock_recvfrom in @apache-mynewt-core_net_ip_native_sockets.a(native_sock.o)</span><br><span class="line">  &quot;___strncpy_chk&quot;, referenced from:</span><br><span class="line">      _c2_handle_get in @apache-mynewt-core_sys_config_selftest-fcb2.a(conf_test_fcb2.o)</span><br><span class="line">      _c2_handle_set in @apache-mynewt-core_sys_config_selftest-fcb2.a(conf_test_fcb2.o)</span><br><span class="line">      _conf_get_value_cb in @apache-mynewt-core_sys_config.a(config_store.o)</span><br><span class="line">      _native_sock_addr_to_mn_addr in @apache-mynewt-core_net_ip_native_sockets.a(native_sock.o)</span><br><span class="line">      _native_sock_itf_getnext in @apache-mynewt-core_net_ip_native_sockets.a(native_itf.o)</span><br><span class="line">ld: symbol(s) not found for architecture i386</span><br><span class="line">clang: error: linker command failed with exit code 1 (use -v to see invocation)</span><br><span class="line">Error: Test failure(s):</span><br><span class="line">Passed tests: []</span><br></pre></td></tr></table></figure></p>
<blockquote>
<p>看文档介绍号称mynewt支持gcc5，于是在<code>/repos/apache-mynewt-core/compiler/sim/compiler.yml</code>中config成gcc5, 看到明显不对，最基本的头文件都找不到。<br><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br></pre></td><td class="code"><pre><span class="line"> Mac01:~ wnnwoo$ newt test @apache-mynewt-core/sys/config</span><br><span class="line">......</span><br><span class="line"> Testing package @apache-mynewt-core/sys/config/selftest-nffs</span><br><span class="line">Compiling repos/apache-mynewt-core/crypto/tinycrypt/src/aes_decrypt.c</span><br><span class="line">Compiling repos/apache-mynewt-mcumgr/cborattr/src/cborattr.c</span><br><span class="line">In file included from /usr/local/Cellar/gcc@5/5.5.0_6/lib/gcc/5/gcc/x86_64-apple-darwin17.7.0/5.5.0/include/stdint.h:9:0,</span><br><span class="line">                 from repos/apache-mynewt-core/crypto/tinycrypt/include/tinycrypt/aes.h:52,</span><br><span class="line">                 from repos/apache-mynewt-core/crypto/tinycrypt/src/aes_decrypt.c:33:</span><br><span class="line">/usr/local/Cellar/gcc@5/5.5.0_6/lib/gcc/5/gcc/x86_64-apple-darwin17.7.0/5.5.0/include-fixed/stdint.h:27:32: fatal error: sys/_types/_int8_t.h: No such file or directory</span><br><span class="line">compilation terminated.</span><br><span class="line">Error: Test failure(s):</span><br></pre></td></tr></table></figure></p>
<p>compiler.yml中再config成gcc6，依然是一堆error，还是很多基本的API 都link不到。<br><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br></pre></td><td class="code"><pre><span class="line">Mac01:~ wnnwoo$ newt test @apache-mynewt-core/sys/config</span><br><span class="line">....</span><br><span class="line">ld: warning: The i386 architecture is deprecated for macOS (remove from the Xcode build setting: ARCHS)</span><br><span class="line">ld: warning: ignoring file /usr/local/Cellar/gcc@6/6.5.0_7/lib/gcc/6/libgcc_ext.10.5.dylib, missing required architecture i386 in file /usr/local/Cellar/gcc@6/6.5.0_7/lib/gcc/6/libgcc_ext.10.5.dylib (1 slices)</span><br><span class="line">ld: warning: ignoring file /usr/local/Cellar/gcc@6/6.5.0_7/lib/gcc/6/gcc/x86_64-apple-darwin20.3.0/6.5.0/libgcc.a, building for macOS-i386 but attempting to link with file built for macOS-x86_64</span><br><span class="line">ld: warning: ignoring file /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd, missing required architecture i386 in file /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd (3 slices)</span><br><span class="line">Undefined symbols for architecture i386:</span><br><span class="line">  &quot;_ioctl&quot;, referenced from:</span><br><span class="line">      _native_sock_bind in @apache-mynewt-core_net_ip_native_sockets.a(native_sock.o)</span><br><span class="line">     (maybe you meant: _hal_flash_ioctl)</span><br><span class="line">  &quot;_fcntl$UNIX2003&quot;, referenced from:</span><br><span class="line">      _native_sock_set_nonblocking in @apache-mynewt-core_net_ip_native_sockets.a(native_sock.o)</span><br><span class="line">      _set_nonblock in @apache-mynewt-core_hw_mcu_native.a(hal_uart.o)</span><br><span class="line">  &quot;___stdoutp&quot;, referenced from:</span><br><span class="line">      _tu_pass_cb_self in @apache-mynewt-core_test_testutil.a(testutil.o)</span><br><span class="line">      _tu_fail_cb_self in @apache-mynewt-core_test_testutil.a(testutil.o)</span><br><span class="line">  &quot;_fflush&quot;, referenced from:</span><br><span class="line">      _tu_pass_cb_self in @apache-mynewt-core_test_testutil.a(testutil.o)</span><br><span class="line">      _tu_fail_cb_self in @apache-mynewt-core_test_testutil.a(testutil.o)</span><br><span class="line">  &quot;_strtoul&quot;, referenced from:</span><br><span class="line">      _c2_var_find in @apache-mynewt-core_sys_config_selftest-fcb.a(conf_test_fcb.o)</span><br><span class="line">  &quot;_openpty&quot;, referenced from:</span><br><span class="line">      _uart_pty in @apache-mynewt-core_hw_mcu_native.a(hal_uart.o)</span><br><span class="line">  &quot;_recvfrom$UNIX2003&quot;, referenced from:</span><br><span class="line">      _native_sock_recvfrom in @apache-mynewt-core_net_ip_native_sockets.a(native_sock.o)</span><br><span class="line">  &quot;___strncpy_chk&quot;, referenced from:</span><br><span class="line">      _c2_handle_get in @apache-mynewt-core_sys_config_selftest-fcb.a(conf_test_fcb.o)</span><br><span class="line">      _c2_handle_set in @apache-mynewt-core_sys_config_selftest-fcb.a(conf_test_fcb.o)</span><br><span class="line">      _conf_get_value_cb in @apache-mynewt-core_sys_config.a(config_store.o)</span><br><span class="line">      _native_sock_addr_to_mn_addr in @apache-mynewt-core_net_ip_native_sockets.a(native_sock.o)</span><br><span class="line">      _native_sock_itf_getnext in @apache-mynewt-core_net_ip_native_sockets.a(native_itf.o)</span><br><span class="line">ld: symbol(s) not found for architecture i386</span><br><span class="line">collect2: error: ld returned 1 exit status</span><br><span class="line">Error: Test failure(s):</span><br><span class="line">Passed tests: []</span><br><span class="line">Failed tests: [sys/config/selftest-fcb2 sys/config/selftest-nffs sys/config/selftest-fcb]</span><br></pre></td></tr></table></figure></p>
</blockquote>
<p>看起来是跟64位的兼容性问题，查来查去，查到Xcode的<a href="https://developer.apple.com/documentation/xcode-release-notes/xcode-10-release-notes">Release notes</a>，看起来要安装旧的Xcode 9.4才行。</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">The macOS 10.14 SDK no longer contains support for compiling 32-bit applications. If developers need to compile for i386, Xcode 9.4 or earlier is required. (39858111)</span><br></pre></td></tr></table></figure>
<p>后续再build下开发版上的binary试下，问题应该少些才对。<br>待续……</p>

          
        
      
    </div>

    

    

    
    
    

    

    
      
    
    

    

    <footer class="post-footer">
      

      

      

      
      
        <div class="post-eof"></div>
      
    </footer>
  </div>
  
  
  
  </article>

    
        

  
  
  

  

  <article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="http://yoursite.com/2021/03/17/RunningCuresAll/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="name" content="Wen Wu">
      <meta itemprop="description" content="I'm a bluetooth Host and Controller developer">
      <meta itemprop="image" content="/images/avatar.gif">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="Wen Wu's notes">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
                
                
                <a href="/2021/03/17/RunningCuresAll/" class="post-title-link" itemprop="url">跑步治愈一切</a>
              
            
          </h1>
        

        <div class="post-meta">

          
          
          

          
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              

              
                
              

              <time title="创建时间：2021-03-17 06:07:33" itemprop="dateCreated datePublished" datetime="2021-03-17T06:07:33+08:00">2021-03-17</time>
            </span>
          

          
            

            
              <span class="post-meta-item">
                <span class="post-meta-item-icon">
                  <i class="fa fa-calendar-check-o"></i>
                </span>
                
                  <span class="post-meta-item-text">更新于</span>
                
                <time title="修改时间：2021-05-04 11:20:33" itemprop="dateModified" datetime="2021-05-04T11:20:33+08:00">2021-05-04</time>
              </span>
            
          

          
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="fa fa-folder-o"></i>
              </span>
              
                <span class="post-meta-item-text">分类于</span>
              
              
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing"><a href="/categories/成长/" itemprop="url" rel="index"><span itemprop="name">成长</span></a></span>

                
                
              
            </span>
          

          
          
            <span id="/2021/03/17/RunningCuresAll/" class="post-meta-item leancloud_visitors" data-flag-title="跑步治愈一切">
              <span class="post-meta-item-icon">
                <i class="fa fa-eye"></i>
              </span>
              
                <span class="post-meta-item-text">阅读次数：</span>
              
                <span class="leancloud-visitors-count"></span>
            </span>
          

          

          
            
  
  <span class="post-meta-item">
    
    <span class="post-meta-item-icon">
      <i class="fa fa-comment-o"></i>
    </span>
    
      <span class="post-meta-item-text">评论数：</span>
    
  
    <a href="/2021/03/17/RunningCuresAll/#comments" itemprop="discussionUrl">
      <span class="post-comments-count valine-comment-count" data-xid="/2021/03/17/RunningCuresAll/" itemprop="commentCount"></span>
    </a>
  </span>
  
  
          

          <br>
          

          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        
          
            <p>翻到一本关于跑步的书：<a href="https://item.jd.com/12969410.html">《跑步治愈》</a>，初看书名，像是个病句，到底是要治愈什么？副书名是：Running Cures All，跑步治愈一切。<br>作者张展晖专攻跑步教学，是一位爱读书、爱思考、爱总结的跑步教练。该书吸引我的不只是精心总结的跑步套路，还有一个似曾相识的“心流”的概念。</p>
<blockquote>
<p>心流是一种最优心理体验。<br>处于心流状态中的人，潜意识系统被打开，所有的清醒意识会被潜意识代替；同时，大脑将充斥着两种给人带来兴奋的化学物质，一是去甲肾上腺素，一是多巴胺。它们共同带来了注意力的提升，反应能力的提升，以及试错学习能力的提升，给人一种“如鱼得水，飘飘入仙”之感，体验过一次的人，都再想多体验一万次。非常巧的是，这两种激素不仅在人进入心流状态后会产生，跑步过程中这两种激素也是源源不断地产生。（第39页）</p>
</blockquote>
<p>类似的概念在其他作品中遇到过两次。</p>
<ul>
<li><p>村上春树在《当我谈跑步时谈什么》提到自己在跑100公里超级马拉松的时候，体会到了幸福感，进入了一种“自动驾驶的状态”，认为“先有了跑步，再有了我”，也是这种感觉。</p>
<blockquote>
<p><a href="https://wnnwoo.github.io/2020/05/04/talk-about-running/">我跑，故我在</a></p>
</blockquote>
</li>
<li><p>Daniel Kahneman在《Thinking, Fast and Slow》里介绍了类似的概念“flow”，</p>
<blockquote>
<p>People who experience flow describe it as “a state of effortless concentration to deep that they lose their sense of time, of themselves, of their problems”.</p>
</blockquote>
</li>
</ul>
<p>另外张教练还提到Runner们自己要多关注自己的内心和身体，不要被外界的或是外人目标影响到。</p>
<blockquote>
<p>外界的目标会随时改变，外界向你提供目标时，往往以某种奖励吸引你追随它。世界上大多数奖励的动机时控制你，不想做外部目标的奴隶，就要拒绝它们的奖励。拒绝外部奖励最有效的方法就是建立“内奖”，即选定你的目标，在追随目标的努力中，获得内心的秩序和成长的乐趣，这就是内奖，就是自我奖励。</p>
</blockquote>

          
        
      
    </div>

    

    

    
    
    

    

    
      
    
    

    

    <footer class="post-footer">
      

      

      

      
      
        <div class="post-eof"></div>
      
    </footer>
  </div>
  
  
  
  </article>

    
        

  
  
  

  

  <article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="http://yoursite.com/2021/03/16/SquareSirDeng/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="name" content="Wen Wu">
      <meta itemprop="description" content="I'm a bluetooth Host and Controller developer">
      <meta itemprop="image" content="/images/avatar.gif">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="Wen Wu's notes">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
                
                
                <a href="/2021/03/16/SquareSirDeng/" class="post-title-link" itemprop="url">邓小平广场</a>
              
            
          </h1>
        

        <div class="post-meta">

          
          
          

          
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              

              
                
              

              <time title="创建时间：2021-03-16 07:48:35" itemprop="dateCreated datePublished" datetime="2021-03-16T07:48:35+08:00">2021-03-16</time>
            </span>
          

          
            

            
              <span class="post-meta-item">
                <span class="post-meta-item-icon">
                  <i class="fa fa-calendar-check-o"></i>
                </span>
                
                  <span class="post-meta-item-text">更新于</span>
                
                <time title="修改时间：2021-05-06 23:10:35" itemprop="dateModified" datetime="2021-05-06T23:10:35+08:00">2021-05-06</time>
              </span>
            
          

          
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="fa fa-folder-o"></i>
              </span>
              
                <span class="post-meta-item-text">分类于</span>
              
              
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing"><a href="/categories/随笔/" itemprop="url" rel="index"><span itemprop="name">随笔</span></a></span>

                
                
              
            </span>
          

          
          
            <span id="/2021/03/16/SquareSirDeng/" class="post-meta-item leancloud_visitors" data-flag-title="邓小平广场">
              <span class="post-meta-item-icon">
                <i class="fa fa-eye"></i>
              </span>
              
                <span class="post-meta-item-text">阅读次数：</span>
              
                <span class="leancloud-visitors-count"></span>
            </span>
          

          

          
            
  
  <span class="post-meta-item">
    
    <span class="post-meta-item-icon">
      <i class="fa fa-comment-o"></i>
    </span>
    
      <span class="post-meta-item-text">评论数：</span>
    
  
    <a href="/2021/03/16/SquareSirDeng/#comments" itemprop="discussionUrl">
      <span class="post-comments-count valine-comment-count" data-xid="/2021/03/16/SquareSirDeng/" itemprop="commentCount"></span>
    </a>
  </span>
  
  
          

          <br>
          

          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        
          
            <p>“上医医国，中医医人，下医医病”，论牛人，最佩服邓公了。<br>2017年国庆我独自驾车从成都出发满怀希望的想去广安参观久仰的邓小平故居，结果在南充附近飞来横祸，遭遇严重追尾，爱车直接毁掉，好在人还活在，到现在我还心有余悸不敢驾车，这个心愿也一直未了。<br>这次出差就千方百计找时间拜访了邓小平广场。广场坐落在福田区莲花山公园的最高处，从公园入口一路走上去也不大费脚力，很快就可以到。广场中心有邓公的雕像，顺着邓公的目光望去是深圳市的市民中心，中心广场被一大圈气派的高楼大厦围着，广场南缘架起一个巨大的雁翅状建筑，夜色中像是一只自带光芒要展翅飞翔的夜鸟准备飞上来接邓公去巡游深圳，而广场周围的这些高楼大厦仿佛是夜鸟绝地而起带出的砖瓦石砾，看起来甚是惊叹。</p>
<p><img src="https://wnnwoo.oss-cn-chengdu.aliyuncs.com/shenzhen/%E8%8E%B2%E8%8A%B1%E5%B1%B1-%E9%82%93%E5%85%AC3-%E5%A4%9C%E6%99%9A.jpeg" alt="邓公踏步"><br><img src="https://wnnwoo.oss-cn-chengdu.aliyuncs.com/shenzhen/%E8%8E%B2%E8%8A%B1%E5%B1%B1-%E4%BF%AF%E7%9E%B0-%E5%B8%82%E6%B0%91%E4%B8%AD%E5%BF%83%E5%A4%9C%E6%99%AF.jpeg" alt="夜鸟"><br><img src="https://wnnwoo.oss-cn-chengdu.aliyuncs.com/shenzhen/%E8%8E%B2%E8%8A%B1%E5%B1%B1-%E5%B0%8F%E5%B9%B3%E5%B9%BF%E5%9C%BA-%E5%B0%8F%E5%B9%B3%E9%A2%98%E5%AD%97.jpeg" alt="小平题字"></p>

          
        
      
    </div>

    

    

    
    
    

    

    
      
    
    

    

    <footer class="post-footer">
      

      

      

      
      
        <div class="post-eof"></div>
      
    </footer>
  </div>
  
  
  
  </article>

    
        

  
  
  

  

  <article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="http://yoursite.com/2021/03/16/BusinessOnLiangmaoshan/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="name" content="Wen Wu">
      <meta itemprop="description" content="I'm a bluetooth Host and Controller developer">
      <meta itemprop="image" content="/images/avatar.gif">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="Wen Wu's notes">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
                
                
                <a href="/2021/03/16/BusinessOnLiangmaoshan/" class="post-title-link" itemprop="url">凉帽山之行</a>
              
            
          </h1>
        

        <div class="post-meta">

          
          
          

          
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              

              
                
              

              <time title="创建时间：2021-03-16 07:32:42" itemprop="dateCreated datePublished" datetime="2021-03-16T07:32:42+08:00">2021-03-16</time>
            </span>
          

          
            

            
              <span class="post-meta-item">
                <span class="post-meta-item-icon">
                  <i class="fa fa-calendar-check-o"></i>
                </span>
                
                  <span class="post-meta-item-text">更新于</span>
                
                <time title="修改时间：2021-05-03 07:32:42" itemprop="dateModified" datetime="2021-05-03T07:32:42+08:00">2021-05-03</time>
              </span>
            
          

          
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="fa fa-folder-o"></i>
              </span>
              
                <span class="post-meta-item-text">分类于</span>
              
              
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing"><a href="/categories/随笔/" itemprop="url" rel="index"><span itemprop="name">随笔</span></a></span>

                
                
              
            </span>
          

          
          
            <span id="/2021/03/16/BusinessOnLiangmaoshan/" class="post-meta-item leancloud_visitors" data-flag-title="凉帽山之行">
              <span class="post-meta-item-icon">
                <i class="fa fa-eye"></i>
              </span>
              
                <span class="post-meta-item-text">阅读次数：</span>
              
                <span class="leancloud-visitors-count"></span>
            </span>
          

          

          
            
  
  <span class="post-meta-item">
    
    <span class="post-meta-item-icon">
      <i class="fa fa-comment-o"></i>
    </span>
    
      <span class="post-meta-item-text">评论数：</span>
    
  
    <a href="/2021/03/16/BusinessOnLiangmaoshan/#comments" itemprop="discussionUrl">
      <span class="post-comments-count valine-comment-count" data-xid="/2021/03/16/BusinessOnLiangmaoshan/" itemprop="commentCount"></span>
    </a>
  </span>
  
  
          

          <br>
          

          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        
          
            <p>终于结束在凉帽山的恶战，不用再做恒特美大厦的守夜人。</p>
<blockquote>
<p>凉帽山是深圳龙岗区的一个地名，以前应该是个山头，现在山头已经被削平，建了很多大楼，只有少许山的痕迹，这里几乎每个大楼都号称一个科技园。<br>而这些科技园也都想用一个自以为独特的名字努力宣示自己的存在：恒特美科技园（恒久特别美丽的科技园）、赛兔科技园(为啥要在科技园里赛兔？不知道这次是那种动物又赢过了兔子，兔子输了一次给乌龟，就一直被人类调笑。）……<br><img src="https://wnnwoo.oss-cn-chengdu.aliyuncs.com/shenzhen/%E8%B5%9B%E5%85%94%E7%A7%91%E6%8A%80%E5%9B%AD2.jpeg" alt></p>
</blockquote>
<p>与O/R公司的合作就不多说了，由于工期短，非常的辛苦，甚至可以说有点极端，还好这些孩子还年轻，都挺能熬，不过这样真不是一个可持续发展的经营方式。各种压力和艰辛就不多说了。<br>相对于繁重的工作，每天早上与自己的独处是最放松的时候。这个独处的方式就是在酒店给<strong>煮早餐</strong>和有空跑<strong>跑步</strong>。</p>
<h4 id="煮早餐"><a href="#煮早餐" class="headerlink" title="煮早餐"></a><strong>煮早餐</strong></h4><p>为了能在酒店煮饭，出行前特意在网上再三挑选，买了旅行用的低功率<a href="https://item.jd.com/68629172130.html">电煮锅</a>，非常适用，刚好煮一个早餐和一个午餐，再加上各种水果基本解决了饮食上的问题。这个电煮锅有很大个优点是把手硬朗可折叠，锅壁薄加热快，非常适用。<br>基本上40分钟煮完，炉子有高中低三个档位。把食材洗好后放进锅里，5分钟高火煮开，然后中火慢煮半小时。这半小时刚好可以用来写报告，报告写完后，也就可以开吃了。<br>味道不算香喷喷，但咱吃的是营养，不是味觉体验。菜根谭有句话“<u><em>浓肥辛甘非真味，神奇卓异非至人</em></u>”，正适合这个场景。<br><img src="https://wnnwoo.oss-cn-chengdu.aliyuncs.com/shenzhen/%E7%BD%97%E5%A8%85.png?x-oss-process=image/resize,p_50" alt="广告图"><br><img src="https://wnnwoo.oss-cn-chengdu.aliyuncs.com/shenzhen/%E7%BD%97%E5%A8%852.jpeg?x-oss-process=image/rotate,90" alt="展开后"></p>
<ul>
<li>水果有：蓝莓、苹果、梨、葡萄、耙耙柑、沃柑、香蕉、猕猴桃</li>
<li>主食：鹰嘴豆、黄豆、藜麦、花生、燕麦</li>
<li>蔬菜：西兰花、菜心、小白菜、蘑菇</li>
</ul>
<h4 id="跑步一"><a href="#跑步一" class="headerlink" title="跑步一"></a><strong>跑步一</strong></h4><p>如果前一天睡的早，那早上就早起一个小时去跑跑步，一是发发汗，二是观察下周边环境也挺有趣。这次住的维也纳酒店在李朗珠宝工业园。李朗这个名字翻译起来应该是李家小伙子的意思，也许是发财了为家乡做了贡献，就有了冠名权？后来我还发现有上李朗和下李朗，还有甘李路，等等都跟李有关系。整个园区大概有20多栋大楼，外围建筑是酒店、各种出售珠宝加工设备的店铺、一个软件园和一个污水处理厂，内部建筑是各个珠宝公司所在的工厂。绕工业园内部一圈儿大概1.5公里的样子。跑到三号门附近的时候，照着大马路往里冲，在8～9点这个时间段总能看到三五成群的穿着校服风格工作服的厂弟厂妹们，从各个大楼鱼贯而出准备上班去，他们或睡眼惺忪，或神采奕奕、说说笑笑，从头到脚都在诉说不一样的故事，不过他们有一个统一的特点就是都穿拖鞋，吧哒吧哒甚是响亮的敲击着地面往前移步。据一位滴滴司机大哥说，他们工作的地方是无尘车间，穿拖鞋是为了换装方便。</p>
<p>最有趣的一条路是从A2的中庭通过再穿过B4的中庭。</p>
<ul>
<li>入口是这个样子，普普通通。</li>
</ul>
<p><img src="https://wnnwoo.oss-cn-chengdu.aliyuncs.com/shenzhen/%E7%8F%A0%E5%AE%9D%E5%A4%A7%E6%A5%BC%E4%B8%AD%E5%BA%AD%E5%85%A5%E5%8F%A3.jpeg" alt></p>
<ul>
<li>从中庭往上看去是很压抑的一方天空,拍这张照片时的心情一定很复杂。</li>
</ul>
<p><img src="https://wnnwoo.oss-cn-chengdu.aliyuncs.com/shenzhen/%E7%8F%A0%E5%AE%9D%E5%A4%A7%E6%A5%BC-%E4%B8%80%E6%96%B9%E5%A4%A9%E7%A9%BA.jpeg?x-oss-process=image/resize,p_30" alt></p>
<ul>
<li>楼面有浓浓的工业风格，排列整齐的污水过滤管道沿着墙面直插入地，像是怪兽游墙时不经意露出的触角。</li>
</ul>
<p><img src="https://wnnwoo.oss-cn-chengdu.aliyuncs.com/shenzhen/%E7%8F%A0%E5%AE%9D%E5%A4%A7%E6%A5%BC-%E6%B1%A1%E6%B0%B4%E7%AE%A1.jpeg?/x-oss-process=image/rotate,90" alt></p>
<ul>
<li>污水计量收费设备</li>
</ul>
<p><img src="https://wnnwoo.oss-cn-chengdu.aliyuncs.com/shenzhen/%E7%8F%A0%E5%AE%9D%E5%A4%A7%E6%A5%BC-%E6%B1%A1%E6%B0%B4%E8%AE%A1%E9%87%8F3.jpeg?/x-oss-process=image/rotate,90" alt></p>
<p> 是不是看起来普普通通，就是一个看起来整齐有序的现代化厂房外表，但是咱配个<a href="https://y.qq.com/n/yqq/song/003riBei2vhCa1.html">海盗岛</a>，想象下你是海盗，是船长，执掌着一艘霸气凌然装备精良的海盗船通过这个危机四伏的狭长海峡，帽衫是旗帜，双腿是船桨，迎面而来的穿堂风是海风，伴随雄赳赳气昂昂的交响乐，向前一直冲。两岸是各种带着长长触角，张牙舞爪，卯足力量随时准备扑面而来的海怪（污水桶和管道），但是你不会退缩，一下一下的划着你的双腿，再抬头望望头顶狭窄的一方蓝天，你告诉自己只要划过这个让你斗志昂扬的海峡，就可以看到更大的蓝天，你继续划，一下两下三四下，五下六下七八下，九下十下十一下……<br> 你终于挺过凶险的A2，刚松一口气，接着又到了B4这栋楼。原来终点也是起点，一样的大楼一样的内墙，一样的管道，但你已经不一样了，村上春树说过，当你独自面对暴风雨的时候你已经不是原来的你，那你独自挺过凶恶海峡的你也是不一样的你。于是你继续鼓起勇气，换一首音乐，这次是<a href="https://www.aigei.com/item/tui_jin_bu_dui_1.html">Advancing the Troops</a>,踩着扣人心弦的鼓点，向前推进……</p>
<h4 id="跑步二"><a href="#跑步二" class="headerlink" title="跑步二"></a><strong>跑步二</strong></h4><p>某个周末早上，我换个花样绕着工业园区外面环跑。跟园区内一样，外面马路上也是匆匆的周末上班族，小年轻居多，一边走一边啃着包子，我这周末再去加班并不孤独。园区1号门口处的几个早餐小摊生意非常火。路过摊贩，我继续跑，跑到这个路口的时候，时间已经不早了，正在犹豫要不要继续跑，看到这个路牌“花屏路”，我给了一个理由给自己停下来：不走花瓶路线，哈哈。<br><img src="https://wnnwoo.oss-cn-chengdu.aliyuncs.com/shenzhen/%E8%8A%B1%E5%B1%8F%E8%B7%AF.jpeg" alt></p>
<h4 id="跑步三"><a href="#跑步三" class="headerlink" title="跑步三"></a><strong>跑步三</strong></h4><p>返程那天的早上有好几个小时的空闲时间，琢磨再去跑个步，匆匆打车去”大运公园“体验一番。公园外面是规模很大的龙岗区体育中心，公园入口却很是简朴，我走的不是正门？进来后首先看到的是一个人工湖、一个大坝以及一圈环湖跑道，树木修剪的很精致，但长的都不高，看起来是个年轻的公园。这里已经有三五成群的人在这里跑步了，或说说笑笑，或大口喘气。<br><img src="https://wnnwoo.oss-cn-chengdu.aliyuncs.com/shenzhen/%E5%A4%A7%E8%BF%90%E5%85%AC%E5%9B%AD-%E4%BA%BA%E5%B7%A5%E6%B9%96.jpeg" alt><br><img src="https://wnnwoo.oss-cn-chengdu.aliyuncs.com/shenzhen/%E5%A4%A7%E8%BF%90%E5%85%AC%E5%9B%AD-%E7%8E%AF%E6%B9%96%E8%B7%91%E9%81%93.jpeg" alt><br>简单拉伸之后就开始慢跑，跑到湖的西北角时，发现除了环湖跑道，有一条往北的岔路通向后面的小树林，这条小路有一种“林深不知处”的不确定性，让我很是兴奋，就信步一直往里跑，一边听着鸟叫，一边呼呼喘气，清新的空气沁人心脾，比起在工业园内外嘈杂的环境，在这个安静的跑道能更专心的关注自己内心的变化。这条路跑到最后又转回到了环湖跑道，慢慢刷完十公里，再打车回酒店，吃早餐，赶飞机。<br><img src="https://wnnwoo.oss-cn-chengdu.aliyuncs.com/shenzhen/%E5%A4%A7%E8%BF%90%E5%85%AC%E5%9B%AD-%E6%9E%97%E6%B7%B1%E4%B8%8D%E7%9F%A5%E5%A4%84.jpeg" alt></p>

          
        
      
    </div>

    

    

    
    
    

    

    
      
    
    

    

    <footer class="post-footer">
      

      

      

      
      
        <div class="post-eof"></div>
      
    </footer>
  </div>
  
  
  
  </article>

    
        

  
  
  

  

  <article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="http://yoursite.com/2021/02/11/FaceStress/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="name" content="Wen Wu">
      <meta itemprop="description" content="I'm a bluetooth Host and Controller developer">
      <meta itemprop="image" content="/images/avatar.gif">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="Wen Wu's notes">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
                
                
                <a href="/2021/02/11/FaceStress/" class="post-title-link" itemprop="url">如何正确面对压力</a>
              
            
          </h1>
        

        <div class="post-meta">

          
          
          

          
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              

              
                
              

              <time title="创建时间：2021-02-11 10:57:28" itemprop="dateCreated datePublished" datetime="2021-02-11T10:57:28+08:00">2021-02-11</time>
            </span>
          

          

          
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="fa fa-folder-o"></i>
              </span>
              
                <span class="post-meta-item-text">分类于</span>
              
              
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing"><a href="/categories/阅读/" itemprop="url" rel="index"><span itemprop="name">阅读</span></a></span>

                
                
              
            </span>
          

          
          
            <span id="/2021/02/11/FaceStress/" class="post-meta-item leancloud_visitors" data-flag-title="如何正确面对压力">
              <span class="post-meta-item-icon">
                <i class="fa fa-eye"></i>
              </span>
              
                <span class="post-meta-item-text">阅读次数：</span>
              
                <span class="leancloud-visitors-count"></span>
            </span>
          

          

          
            
  
  <span class="post-meta-item">
    
    <span class="post-meta-item-icon">
      <i class="fa fa-comment-o"></i>
    </span>
    
      <span class="post-meta-item-text">评论数：</span>
    
  
    <a href="/2021/02/11/FaceStress/#comments" itemprop="discussionUrl">
      <span class="post-comments-count valine-comment-count" data-xid="/2021/02/11/FaceStress/" itemprop="commentCount"></span>
    </a>
  </span>
  
  
          

          <br>
          

          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        
          
            <p><img src="https://wnnwoo.oss-cn-chengdu.aliyuncs.com/FaceStress/FaceStress.png??x-oss-process=image/resize,p_30" alt></p>
<p>   压力是我们每个人都要面对的，压力不是在这里，就是在那里，不是在工作上，就是在生活上。逃避是没有用的，逃避只是将压力往后推，到最后越积越多自己撑不住了，就会崩溃。<br>我们唯一能做的就是提高自己抵抗压力的阈值，那么如何做到？其中最关键的地方是要在心理上能正面接受压力。<br>《自控力》的作者Kelly Mcgonigal，是个健康心里学家，一直致力于如何让人健康快乐，经过多年的研究，得出一个结论。</p>
<ul>
<li>压力只对那些认为压力有害的人才有害。</li>
</ul>
<p>她在TED有一个15分钟左右的关于如何面对压力的<a href="http://kellymcgonigal.com/speaking">演讲</a>，非常非常有启发，有20M的点击量。</p>
<p>这个结论是怎么得出来的呢？<br>有一项研究跟踪了3万名美国人，历史8年，对于这些被试，先问他们下面两个问题，然后跟踪这些人的生存状况。</p>
<ol>
<li>去年你承受了多大的压力？（How much stress do you experience in the last year？）</li>
<li>你相信压力对健康有害吗？（Do you beleive that stress is harmfully to your health？）</li>
</ol>
<p>研究发现前一年承受压力较大的人的死亡风险增加了43%，但这只适用于那些相信压力对他们有害的人。对于承受极大压力的人，如果不这么看，死亡率会比承受较小压力的人还低。</p>
<p>压力会使我们的心跳加速，那些心理上不接受压力的人，心血管会变窄，反而容易死亡；能正面迎接压力的人心血管会非常放松，整个人处于迎接挑战的模式，血液加速循环，甚至是大汗淋漓，反而有好处。</p>
<p><strong>增加自己与他人的社会链接，关爱他人，也会加强自己的韧性</strong></p>
<ul>
<li>那些让人承受巨大压力的生活经验，比如财务困境和家庭危机，会增加30%的死亡率。但是并不是每个人都是这样，那些花时间去关爱他人的人完全不受这个影响。</li>
</ul>
<hr>
<p>相对于逃避不安，追求有意义的人生对健康更有好处。选择那些你认为对人生有意义的事情去做，同时相信自己能应对随之而来的压力。</p>
<ul>
<li>Chasing meaning is better to your health than trying to avoid discomfort</li>
<li>Go after what is creating meaning in your life and trust yourslef to  handle the stress it follows.</li>
</ul>

          
        
      
    </div>

    

    

    
    
    

    

    
      
    
    

    

    <footer class="post-footer">
      

      

      

      
      
        <div class="post-eof"></div>
      
    </footer>
  </div>
  
  
  
  </article>

    
        

  
  
  

  

  <article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="http://yoursite.com/2021/01/10/QuitNewJoy/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="name" content="Wen Wu">
      <meta itemprop="description" content="I'm a bluetooth Host and Controller developer">
      <meta itemprop="image" content="/images/avatar.gif">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="Wen Wu's notes">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
                
                
                <a href="/2021/01/10/QuitNewJoy/" class="post-title-link" itemprop="url">关于换工作的思考</a>
              
            
          </h1>
        

        <div class="post-meta">

          
          
          

          
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              

              
                
              

              <time title="创建时间：2021-01-10 20:14:34" itemprop="dateCreated datePublished" datetime="2021-01-10T20:14:34+08:00">2021-01-10</time>
            </span>
          

          
            

            
              <span class="post-meta-item">
                <span class="post-meta-item-icon">
                  <i class="fa fa-calendar-check-o"></i>
                </span>
                
                  <span class="post-meta-item-text">更新于</span>
                
                <time title="修改时间：2021-02-11 16:14:34" itemprop="dateModified" datetime="2021-02-11T16:14:34+08:00">2021-02-11</time>
              </span>
            
          

          
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="fa fa-folder-o"></i>
              </span>
              
                <span class="post-meta-item-text">分类于</span>
              
              
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing"><a href="/categories/阅读/" itemprop="url" rel="index"><span itemprop="name">阅读</span></a></span>

                
                
              
            </span>
          

          
          
            <span id="/2021/01/10/QuitNewJoy/" class="post-meta-item leancloud_visitors" data-flag-title="关于换工作的思考">
              <span class="post-meta-item-icon">
                <i class="fa fa-eye"></i>
              </span>
              
                <span class="post-meta-item-text">阅读次数：</span>
              
                <span class="leancloud-visitors-count"></span>
            </span>
          

          

          
            
  
  <span class="post-meta-item">
    
    <span class="post-meta-item-icon">
      <i class="fa fa-comment-o"></i>
    </span>
    
      <span class="post-meta-item-text">评论数：</span>
    
  
    <a href="/2021/01/10/QuitNewJoy/#comments" itemprop="discussionUrl">
      <span class="post-comments-count valine-comment-count" data-xid="/2021/01/10/QuitNewJoy/" itemprop="commentCount"></span>
    </a>
  </span>
  
  
          

          <br>
          

          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        
          
            <p><img src="https://wnnwoo.oss-cn-chengdu.aliyuncs.com/JoySwitch/FishFlaying.png" alt></p>
<p>一个同行写的一篇关于一次换了工作后又离职的思考，值得借鉴。<br><a href="https://yolken.net/blog/quitting-a-new-job">Quit a new job</a></p>
<p>作者原来一家从事企业计算机业务的公司（Stripe），离职的理由也很类似：</p>
<ul>
<li>对自己当前的状况不满意</li>
<li>工作上无法平衡过度压力和成就感</li>
<li>工作前景受限，上层职位要投太多的时间在跨team协作上，自己不喜欢。</li>
</ul>
<p>于是决定换一家公司，找到一家无人驾驶的创业（Startup）公司（Nuro），但没几天就又决定离职，理由如下：</p>
<ul>
<li>通勤时间增加，生活水平下降（lifestyle downgrade）</li>
<li>办公室不够明亮（A dark office）<ul>
<li>这也算理由？</li>
</ul>
</li>
<li>产品不知何年何月才能量产，看不到希望。</li>
</ul>
<p>后来很快又找了一家公司，作者总结了下换工作的时候要考虑的几个地方：</p>
<ol>
<li>在没有压力，非面试的情况，与你将来要一起的团队开个会。</li>
<li>参观下办公室，了解工作的地方。</li>
<li>尝试几天通勤。</li>
<li>试下你这份工作要用到的语言及技术。</li>
<li>了解公司产品的demo。</li>
<li>了解公司的收入和支出。</li>
</ol>

          
        
      
    </div>

    

    

    
    
    

    

    
      
    
    

    

    <footer class="post-footer">
      

      

      

      
      
        <div class="post-eof"></div>
      
    </footer>
  </div>
  
  
  
  </article>

    
  </section>

  
  <nav class="pagination">
    <span class="page-number current">1</span><a class="page-number" href="/page/2/">2</a><span class="space">&hellip;</span><a class="page-number" href="/page/8/">8</a><a class="extend next" rel="next" href="/page/2/"><i class="fa fa-angle-right" aria-label="下一页"></i></a>
  </nav>



          </div>
          

        </div>
        
          
  
  <div class="sidebar-toggle">
    <div class="sidebar-toggle-line-wrap">
      <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
    </div>
  </div>

  <aside id="sidebar" class="sidebar">
    <div class="sidebar-inner">

      

      

      <div class="site-overview-wrap sidebar-panel sidebar-panel-active">
        <div class="site-overview">

          <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
  
  <p class="site-author-name" itemprop="name">Wen Wu</p>
  <div class="site-description motion-element" itemprop="description">I'm a bluetooth Host and Controller developer</div>
</div>


  <nav class="site-state motion-element">
    
      <div class="site-state-item site-state-posts">
        
          <a href="/archives/">
        
          <span class="site-state-item-count">80</span>
          <span class="site-state-item-name">日志</span>
        </a>
      </div>
    

    
      
      
      <div class="site-state-item site-state-categories">
        
          
            <a href="/categories/">
          
        
        
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
        <span class="site-state-item-count">16</span>
        <span class="site-state-item-name">分类</span>
        </a>
      </div>
    

    
      
      
      <div class="site-state-item site-state-tags">
        
          
            <a href="/tags/">
          
        
        
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
          
        
        <span class="site-state-item-count">39</span>
        <span class="site-state-item-name">标签</span>
        </a>
      </div>
    
  </nav>













          
          
        </div>
      </div>

      

      

    </div>
  </aside>
  <div id="sidebar-dimmer"></div>


        
      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="footer-inner">
        <div class="copyright">&copy; <span itemprop="copyrightYear">2022</span>
  <span class="with-love" id="animate">
    <i class="fa fa-user"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">Wen Wu</span>

  

  
</div>


  <div class="powered-by">由 <a href="https://hexo.io" class="theme-link" rel="noopener" target="_blank">Hexo</a> 强力驱动 v3.9.0</div>



  <span class="post-meta-divider">|</span>



  <div class="theme-info">主题 – <a href="https://theme-next.org" class="theme-link" rel="noopener" target="_blank">NexT.Gemini</a> v7.2.0</div>





  <script src="https://unpkg.com/mermaid@/dist/mermaid.min.js"></script>
  <script>
    if (window.mermaid) {
      mermaid.initialize("");
    }
  </script>



        








        
      </div>
    </footer>

    
      <div class="back-to-top">
        <i class="fa fa-arrow-up"></i>
        
      </div>
    

    

    

    

  </div>

  

<script>
  if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
    window.Promise = null;
  }
</script>
















  
  









  
  <script src="/lib/jquery/index.js?v=3.4.1"></script>

  
  <script src="/lib/velocity/velocity.min.js?v=1.2.1"></script>

  
  <script src="/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>




  <script src="/js/utils.js?v=7.2.0"></script>

  <script src="/js/motion.js?v=7.2.0"></script>



  
  


  <script src="/js/affix.js?v=7.2.0"></script>

  <script src="/js/schemes/pisces.js?v=7.2.0"></script>




  

  <script src="/js/next-boot.js?v=7.2.0"></script>

  

  

  


  
  

  
  
    
      
    
      
    
      
    
      
    
      
    
      
    
      
    
      
    
      
    
      
    
  

  























<script>
if ($('body').find('pre.mermaid').length) {
  $.ajax({
    type: 'GET',
    url: '//cdn.jsdelivr.net/npm/mermaid@8/dist/mermaid.min.js',
    dataType: 'script',
    cache: true,
    success: function() {
      mermaid.initialize({
        theme: 'forest',
        logLevel: 3,
        flowchart: { curve: 'linear' },
        gantt: { axisFormat: '%m/%d/%Y' },
        sequence: { actorMargin: 50 }
      });
    }
  });
}
</script>


<script>
// GET RESPONSIVE HEIGHT PASSED FROM IFRAME

window.addEventListener("message", function(e) {
  var data = e.data;
  if ((typeof data === 'string') && (data.indexOf('ciu_embed') > -1)) {
    var featureID = data.split(':')[1];
    var height = data.split(':')[2];
    $(`iframe[data-feature=${featureID}]`).height(parseInt(height) + 30);
  }
}, false);
</script>








  
    

  

<script src="//cdn.jsdelivr.net/npm/valine@1/dist/Valine.min.js"></script>

<script>
  var GUEST = ['nick', 'mail', 'link'];
  var guest = 'nick,mail,link';
  guest = guest.split(',').filter(function(item) {
    return GUEST.indexOf(item) > -1;
  });
  new Valine({
    el: '#comments',
    verify: false,
    notify: false,
    appId: 'wteo2C9GdG6F2N92cktVar8K-gzGzoHsz',
    appKey: 'IBKrtkUwlKqPJ8FQsKkNP0K1',
    placeholder: 'Just go go',
    avatar: 'mm',
    meta: guest,
    pageSize: '10' || 10,
    visitor: true,
    lang: 'zh-cn' || 'zh-cn'
  });
</script><!-- hexo-inject:begin --><!-- Begin: Injected MathJax -->
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({"tex2jax":{"inlineMath":[["$","$"],["\\(","\\)"]],"skipTags":["script","noscript","style","textarea","pre","code"],"processEscapes":true},"TeX":{"equationNumbers":{"autoNumber":"AMS"}}});
</script>

<script type="text/x-mathjax-config">
  MathJax.Hub.Queue(function() {
    var all = MathJax.Hub.getAllJax(), i;
    for(i=0; i < all.length; i += 1) {
      all[i].SourceElement().parentNode.className += ' has-jax';
    }
  });
</script>

<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js">
</script>
<!-- End: Injected MathJax -->
<!-- hexo-inject:end -->

  

</body>
</html>
